package com.example.back.bean;

import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class UserSign {

    private int id;
    private long userId;
    private Date signTime;
    private String reward;
    private int number;
    private int ads;
    private int type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getAds() {
        return ads;
    }

    public void setAds(int ads) {
        this.ads = ads;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "UserSign{" +
                "id=" + id +
                ", userId=" + userId +
                ", signTime=" + signTime +
                ", reward='" + reward + '\'' +
                ", number=" + number +
                ", ads=" + ads +
                ", type=" + type +
                '}';
    }
}
